[Top] [Prev] [Next] [Bottom] [Contents]

SaGetCurrentPtr

Gets the pointer of the current location in the "play" stream of a template file being "played" in Sapphire. You can look forward into the stream until a null character is encountered (end-of-stream).

Synopsis

#include "SaRnHtml.h"
char* SaGetCurrentPtr SUTPROTO(());

Arguments

None.

Return Values

The a pointer to the current location in a "play" stream.

Description

Gets the pointer of the current location in the "play" stream of a template file being "played" in Sapphire. You can look forward into the stream until a null character is encountered (end-of-stream).

Example

char* str;
str = SaGetCurrentPtr();
if(strstr(str, "HREF" ) != NULL)
{
	/*** a upper case HREF  tag is still to come ***/
}

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.